package string;

public class Demo12 {
    public static void main(String[] args) {
        String str = "350322199908213037";
        String st = "Thinking in Java 是本好书";
        String s1 = st.substring(9,11);
        String s2 = st.substring(9,9+2);
        String s3 = st.substring(12);
        String s4 = str.substring(10,10+4);
        String s5 = str.substring(10,14);

        System.out.println(s1);
        System.out.println(s2);
        System.out.println(s3);
        System.out.println(s4);
        System.out.println(s5);
    }
}
